package com.world.rickcloudendpoint.models.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @description: 用户操作日志
 * @author: jlsong
 * @date: 2022/04/06 16:58:08
 * @version: 1.0
 */
@Data
@Document("rc_log")
public class OptLog implements Serializable {

    private ObjectId _id;

    private String title;

    private String username;

    /**
     * 业务类型（0其它 1新增 2修改 3删除）
     */
    private String  businessType;

    private String desc;

    private  Long time;
}
